/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 证照培训名称Entity
 * @author zms
 * @version 2018-04-15
 */
public class CampusinfoTrainName extends DataEntity<CampusinfoTrainName> {
	
	private static final long serialVersionUID = 1L;
	private String trainName;		// 培训名称
	private String trainForshort;		// 简介
	private String payment;		// 培训费用
	private String typeId;		// 业务名称
	private String unLinement;		// 线下缴费说明
	private String trainImg;		// 图片
	private String trainType;		// 业务名称

	private String trainShort;		// 简介

	public String getTrainType() {
		return trainType;
	}

	public void setTrainType(String trainType) {
		this.trainType = trainType;
	}

	public String getTrainShort() {
		return trainShort;
	}

	public void setTrainShort(String trainShort) {
		this.trainShort = trainShort;
	}

	public String getTrainImg() {
		return trainImg;
	}

	public void setTrainImg(String trainImg) {
		this.trainImg = trainImg;
	}


	public CampusinfoTrainName() {
		super();
	}

	public CampusinfoTrainName(String id){
		super(id);
	}

	@Length(min=1, max=64, message="培训名称长度必须介于 1 和 64 之间")
	public String getTrainName() {
		return trainName;
	}

	public void setTrainName(String trainName) {
		this.trainName = trainName;
	}

	public String getTrainForshort() {
		return trainForshort;
	}

	public void setTrainForshort(String trainForshort) {
		this.trainForshort = trainForshort;
	}
	
	@Length(min=1, max=64, message="培训费用长度必须介于 1 和 64 之间")
	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}
	
	@Length(min=1, max=64, message="业务名称长度必须介于 1 和 64 之间")
	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}
	
	@Length(min=0, max=255, message="线下缴费说明长度必须介于 0 和 255 之间")
	public String getUnLinement() {
		return unLinement;
	}

	public void setUnLinement(String unLinement) {
		this.unLinement = unLinement;
	}
	
}